<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
<head py:match="head">
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
  <style type="text/css">
    @import "/static/site/site.css";
  </style>
  <script type="text/javascript" src="/static/site/site.js"></script>
  <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <title py:if="defined('pagetitle')" py:content="u'webpyte — ' + pagetitle" />
  ${select('*')}
</head>

<body py:match="body">
  <div id="Dimensions">
    <div py:if='defined("auth")' id="Login" class="FloatRight Minuscule">
        <a py:if="not auth.current_login"
           href='${url("Auth", action="login")}'>login</a>
        <span py:if="auth.current_login">
        <a href='${url("Auth", action="register")}'>
            User: ${auth.current_user.display_name}</a>.
        <a href='${url("Auth", action="logout")}'>Logout</a>
        </span>
    </div>
    
    <a href="http://code.google.com/p/webpyte/"><img alt="Webpyte" src="/wp/webpyte-logo-height100.png" /></a> — <a href="/">site root</a> — <a href="/err">test error</a>
    <br />
    <div id="Header">
      <div id="Title">
        <a py:if="defined('urlNew') and urlNew is not None" href='${urlNew}'><img src="/wp/new.png" alt="criar" title="criar" class="FloatLeft" /></a>
        <a py:if='defined("urlEdit") and urlEdit is not None' href='${urlEdit}'><img src="/wp/edit.png" alt="alterar" title="alterar" class="FloatLeft" /></a>
        <h1 py:if="defined('pagetitle')" py:content="pagetitle" class="PageTitle" />
      </div>
    </div>
    <div>
        <div py:if="has_flash()" class="Status Pad" py:content="flash()"></div>
        ${select('*')}
    </div>
    <div id="Footer">
      <div style="float:right;">
        <a href="javascript:toTop();">to top &uarr;</a>
      </div>
      55 11 2222 3333<br />
      <div style="float:right;">
        <a href="http://www.mozilla.com/firefox/" target="_blank">Firefox recommended <img src="/wp/firefox.gif" alt="" style="margin-bottom : -2px;" /></a>
      </div>
      <!--
      <a href="/register">Registre-se para receber nossa newsletter!</a>
      -->
    </div>
  </div>
</body>
</html>
